package com.serviceprovider.business.module.admin.transaction.services.dao.interfaces;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.admin.transaction.model.NewCsvReplica;

import org.supercsv.io.ICsvMapReader;

//~--- JDK imports ------------------------------------------------------------

import java.util.ArrayList;

public interface IFlatTableService {
    int insertBatch(ICsvMapReader reader, String[] headers, String flatTableFields, String[] flatTableFieldsOrder,
                    int historyId, int mappingId)
            throws Exception;

    ArrayList<NewCsvReplica> getAllRecords(int historyId);
}



